{% extends "base.html" %}

{% block title %}Edit note{% endblock %}

{% block content %}
<h1>Edit note</h1>

<form action="/note/{{ note.id }}/edit/" method="post">
<textarea style="width: 60em; height: 400px;" name="body">{{ note.body|escape }}</textarea>
<p><input type="submit" value="Save changes"></p>
</form>
{% endblock %}